package top.roadvast.activiti;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

public class MyTaskListener implements TaskListener {

	@Override

	public void notify(DelegateTask delegateTask) {

		//这里指定任务负责人
		delegateTask.setAssignee("张三");

	} 

}